﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebUI.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>webform1</title>
    <style type="text/css">
        * { font-size: 12px; margin: 0px; padding: 0px; }
        body, ul { border: 1px solid none; margin: 3px; padding: 3px; }
        li { list-style: none; }
        table, tr { margin: 0px; padding: 0px; border-collapse: collapse; }
        table, td { border: 1px solid #888888; }
        th { border-bottom: 1px solid #ff0000; background: #f0f0f0; }
        th, td { padding: 0px 3px 0px 3px; text-align: left; }
    </style>
</head>
<body>
    <table>
        <tr>
            <th colspan="22">Node-Lower-Index:1:</th>
        </tr>
        <tr>
            <td colspan="22">
            <table>
        <x:RepeaterExt ID="RepeaterExt00" runat="server" Index="1" Data="Node" Level="Lower" GetDatax="Info, Node, ParentNode" GetHrefx="ParentNode, Node, Info">
            <ItemTemplate>
                <tr>
                    <td>Index:<td><%# Container.ItemIndex + 1 %></td>
                </tr>
                <tr>
                    <td colspan="22">
                        <x:RepeaterExt ID="RepeaterExt01" runat="server" FieldParentKeys="InfoPkId, NodePkId, ParentNodePkId" Data="Node" Memo="NodePkId" Level="Lower">
                            <ItemTemplate>
                                <table>
                                    <tr>
                                        <td>Node:<%# Eval("NodeTitle") %></td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </x:RepeaterExt>
                    </td>
                </tr>
            </ItemTemplate>
            <FieldSorts>
                <x:ItemSort Key="SortId" OrderAd="DESC" />
                <x:ItemSort Key="InfoPkId" OrderAd="DESC" />
            </FieldSorts>
            <FieldLength>
                <x:ItemLength Key="Title" Length="123" />
                <x:ItemLength Key="Content" Length="360" />
            </FieldLength>
            <EmptyTemplate>
                <tr>
                    <th colspan="22">查询无数据</th>
                </tr>
            </EmptyTemplate>
        </x:RepeaterExt>
            </table>
            </td>
        </tr>
        <tr>
            <td colspan="22">
    List-Lowers-Index:0:<br />
    <x:RepeaterExt ID="RepeaterExt3" runat="server" Index="0" Data="List" Level="Lowers" Type="Banner, Guide, Zip, Media">
        <ItemTemplate>
            <div>ParentNodePkId:<%# Eval("ParentNodePkId") %>ParentNodeTitle:<%# Eval("ParentNodeTitle") %>NodePkId:<%# Eval("NodePkId") %>Node:<%# Eval("NodeTitle") %>InfoPkId:<%# Eval("InfoPkId") %>InfoTitle:<%# Eval("InfoTitle") %></div>
        </ItemTemplate>
    </x:RepeaterExt>
    Node-This-Index:Auto:<br />
    <x:RepeaterExt ID="RepeaterExt10" runat="server" Data="Node" Level="This">
        <ItemTemplate>
            <div>ParentNodePkId:<%# Eval("ParentNodePkId") %>ParentNodeTitle:<%# Eval("ParentNodeTitle") %>NodePkId:<%# Eval("NodePkId") %>Node:<%# Eval("NodeTitle") %></div>
        </ItemTemplate>
    </x:RepeaterExt>
    Node-Lower-Index:Auto:<br />
    <x:RepeaterExt ID="RepeaterExt11" runat="server" Data="Node" Level="Lower">
        <ItemTemplate>
            <div>ParentNodePkId:<%# Eval("ParentNodePkId") %>ParentNodeTitle:<%# Eval("ParentNodeTitle") %>NodePkId:<%# Eval("NodePkId") %>Node:<%# Eval("NodeTitle") %></div>
        </ItemTemplate>
    </x:RepeaterExt>
    List-This-Index:Auto:1-3:<br />
    <x:RepeaterExt ID="RepeaterExt12" runat="server" Data="List" PagerIndex="1" Rows="3" Level="This">
        <ItemTemplate>
            <div>NodeId:<%# Eval("NodePkId") %>Node:<%# Eval("NodeTitle") %>InfoId:<%# Eval("InfoPkId") %>Info:<%# Eval("InfoTitle") %></div>
        </ItemTemplate>
    </x:RepeaterExt>
    List-This-Index:Auto:4-6:<br />
    <x:RepeaterExt ID="RepeaterExt2" runat="server" Data="List" PagerIndex="2" Rows="3" Level="This">
        <ItemTemplate>
            <div>NodeId:<%# Eval("NodePkId") %>Node:<%# Eval("NodeTitle") %>InfoId:<%# Eval("InfoPkId") %>Info:<%# Eval("InfoTitle") %></div>
        </ItemTemplate>
    </x:RepeaterExt>
    Info-This-Index:Auto:<br />
    <x:RepeaterExt ID="RepeaterExt13" runat="server" Data="Info" Level="This">
        <ItemTemplate>
            <div>NodePkId:<%# Eval("NodePkId") %>NodeTitle:<%# Eval("NodeTitle") %>InfoId:<%# Eval("InfoPkId") %>InfoTitle:<%# Eval("InfoTitle") %></div>
        </ItemTemplate>
    </x:RepeaterExt>
            </td>
        </tr>
    </table>
</body>
</html>
